#include <47func.h>
//子进程的状态
enum {
    FREE,
    BUSY
};
// 父进程需要保存每个子进程的信息
typedef struct workerdata_s{
    pid_t pid;
    int status;//FREE or BUSY
} workerdata_t;
int makeWorker(workerdata_t *workerdataArr, int workerNum);
int eventLoop();
int tcpInit(const char *ip, const char *port, int *psockfd);
